package com.deep.bilibili.service;

import com.deep.bilibili.dao.AdminerMapper;
import com.deep.bilibili.dto.AdminerDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminerServiceImpl implements AdminerService {

    @Autowired
    private AdminerMapper adminerMapper;

    @Override
    public AdminerDto getUserByName(String name) {
        return adminerMapper.findByUsername(name);
    }
}
